﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using 纺织贸易管理系统;

namespace 后整理管理系统.自定义类
{
    public  class EmployerHelper
    {
        public static void AssignmentCombox(ComboBox cmb)
        {
            cmb.Items.Clear();
            foreach(var item in Connect.dbcontext.Queryable<YuanGongTable>().ToList ())
            {
                cmb.Items.Add(item.Xingming);
            }
        }
    }
}
